package com.bzm.mapper.bzm;

import java.util.List;

import org.apache.ibatis.annotations.Param;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.bzm.pojo.bzm.BzmImChatMsgLogs;
import com.bzm.pojo.bzm.vo.BzmImChatMsgLogsVo;
import com.bzm.pojo.plugins.echarts.EchartsCount;

/**
 * <p>
 * im_chat聊天记录 Mapper 接口
 * </p>
 *
 * @author hemiao
 * @since 2022-10-11
 */
public interface BzmImChatMsgLogsMapper extends BaseMapper<BzmImChatMsgLogs> {
	
	List<EchartsCount> selectMsgCount(@Param("startTimeStr")String startTimeStr, 
			@Param("endTimeStr")String endTimeStr);
	
	List<BzmImChatMsgLogsVo> selectFriendMsgList(@Param("sendId")String sendId, 
			@Param("receiveId")String receiveId);
		
	List<BzmImChatMsgLogsVo> selectGroupMsgList(@Param("groupId")String groupId);

}
